<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hi+海家未知旅行计划</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/video-js.css"/>
    <style>
        body,html {
            background-color: #ffffff;
            width:100%;
            height:100%
        }

        .my-video-dimensions {
            width: 100%;
            height:700px;
        }

    </style>

</head>
<body>
<div id="showMy-video2" class="m">
    <video id="my-video" class="video-js" controls="controls" autoplay="autoplay"  preload="auto" webkit-playsinline="true" playsinline="true" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" data-setup='{"example_option":true}' >
        <source src="__IMAGE__/{$who}.mp4" type="video/mp4" id="videooo">
        <p class="vjs-no-js">
            To view this video please enable JavaScript, and consider upgrading to a web browser that
            <a href=" " target="_blank">supports HTML5 video</a>
        </p>
    </video>

</div>


</body>
<script type="text/javascript" src="__JS__/jquery-2.1.1.min.js"></script>
<script src="__JS__/video.min.js"></script>
<script>
    //------------ip---------------
    $.ajax({
        type:'post',
        url:"http://mww1.xuanwumobile.com/home/User/wapNum",
        data:'type=3',
        dataType:'JSON',
        success:function(res){

        },
        error:function(){

        }
    });
    var options = {
        autoplay: true,
        requestFullscreen:true
    };

    document.getElementById('my-video').play();
    document.addEventListener("WeixinJSBridgeReady", function () {


        var player = videojs('my-video', options, function onPlayerReady() {

            this.on('ended', function() {
                location.href = "{:U('home/Index/index')}";
            });
            this.play();
            this.requestFullscreen();

        });



    }, false);
</script>

</html>